import org.junit.Test;
import redis.clients.jedis.Jedis;

public class test1 {
    @Test
    public void test1(){
        Jedis redis = new Jedis("localhost",6379);
        redis.setbit("count",123,"1");
        redis.setbit("count",123,"1");
        redis.setbit("count",123,"1");
        redis.setbit("count",1234,"1");
        redis.setbit("count",1234,"1");
        redis.close();
    }
}
